package com.itheima.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName PageConfigration
 * @Description TODO
 * @Author Shinelon
 * @Date DATE 2021/8/31 16:12
 */
@Configuration
public class PageConfigration {
    @Bean
    public PaginationInterceptor get(){
        return new PaginationInterceptor();
    }
}
